﻿<%@ Page Title="" Language="C#" MasterPageFile="~/YiDashuihang_.Master" AutoEventWireup="true" CodeBehind="Ask_Record.aspx.cs" Inherits="YiDaShuiHang.Ask_Record" %>

<%@ Register Src="~/Alert.ascx" TagPrefix="uc1" TagName="Alert" %>



<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="Scripts/page_js/index.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            check_logion("manager_name", "login.html");
            $('#demolist li').on('click', function () {
                var content = $(this).text();
                $("#dateboxs").text(content);
                document.getElementById('Span12').style.marginTop = '9px';
            });
            $('#datalist li').on('click', function () {
                var content = $(this).text();
                $("#list").text(content);
            });
            $(".market li").click(function () {
                var content = $(this).text();
            })
             getdata("1", "||||||");
        })
        $(document).keydown(function (e) {
            if (!e) {
                e = window.event;
            }
            if ((e.keyCode || e.which) === 13) {
               

            }
        });
    </script>
     <style type="text/css">
        .tbodyList input {
            background-color: white;
            border-color: white;
        }
        .select_ {
            width:85%
        }
      .dropdown.nav a:hover
      {
      	 background:#1182f6;
      	  }
        #recordtable td {
        vertical-align:middle }
         #border_none {
        margin-bottom:-10px;
        margin-top:-10px;
        height:30px;
        width:100%;
        border-style:none;
              }
         #border_none1 {
        margin-bottom:-10px;
        margin-top:-10px;
        background-color:#d9edf7;
        height:30px;
        width:100%;
        border-style:none;
              }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="container" style=" padding:0px 0px">
    <div class="content" style=" width:100%; height:auto; margin:0 auto; ">
        <div class="header" style=" margin-top:0px;">
            <h1 class="page-title" style="display: inline-block;">
                叫水记录查询</h1>
            <span id="tips"></span>
            <input onclick="loaddown_excel0()" type="button"  value="导出当前条件的Excel文件" class="btn btn-info pull-right"/>
               </div>
        <div class="main-content" style=" padding:0 auto;">
            <div class="row">
                <div class="col-md-2 btn-group  " style="margin-left:20px" >
                <label>
                        区域</label>
                    <button class="btn btn-default dropdown-toggle" type="button" id="Button6"
                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style=" height: 34px; width: 100%">
                        <span id="dateboxs" style="width:80%"></span><span style=" width:10% ">
                            <span id="Span12" class="caret" style="margin-top:3px; float:right"></span></span>
                    </button>
                    <ul class="dropdown-menu" style=" margin-left:9% ;width:83%" role="menu" id="demolist">
                    <li style=" margin-left:8%"><a>全部</a></li>
                        <li style=" margin-left:8%"><a >旧白宫</a></li>
                        <li style=" margin-left:8%"><a >四合院</a></li>
                        <li style=" margin-left:8%"><a >北区女生宿舍</a></li>
                         <li style=" margin-left:8%"><a >新白宫</a></li>
                          <li style=" margin-left:8%"><a >西区宿舍</a></li>
                           <li style=" margin-left:8%"><a >玫瑰园1</a></li>
                            <li style=" margin-left:8%"><a >玫瑰园2</a></li>
                            <li style=" margin-left:8%"><a>其他</a></li>
                    </ul>
                </div>
                <div class="form-group col-md-2"style=" margin-left:-14px">
                    <label>
                        楼号</label><input type="text" class="form-control" id="building" style="height:34px"></div>
                <div class="form-group col-md-2"style=" margin-left:-14px">
                    <label>
                        宿舍号</label><input type="text" class="form-control" id="dorm" style="padding: 6px 8px;height:34px"></div>  
                <div class="col-md-2 btn-group"style=" margin-left:-14px">
                <label>
                        状态</label>
                   
                    <button class="btn btn-default dropdown-toggle" type="button" id="Button1"
                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width:100%">
                            <span id="list" style=" width:80%">全部</span>
                            <span id="Span2"style="margin-top:8px; float:right" class="caret"></span>
                        </button>
                    <ul class="dropdown-menu" style=" margin-left:9%; width:83%" role="menu" id="datalist">
                     <li style=" margin-left:8%"><a >全部</a></li>
                        <li style=" margin-left:8%"><a >未送</a></li>
                        <li style=" margin-left:8%"><a >在送</a></li>
                        <li style=" margin-left:8%"><a >已送</a></li>
                    </ul>
                </div>
                <div class="col-md-2"style=" margin-left:-14px;">
                    <label>
                        送水工</label><input type="text" class="form-control" style="width:82%;height:34px" id="songshuigong" />
                        </div>  
                <div class="col-md-2"style=" margin-left:-50px">
                    <input class="btn btn-info form-control " value="查询" type="button" onclick="search()"  style="margin-top:25px;height:34px" />
                        
                    </div>
            </div>
            <table class="table table-bordered" id="recordtable" style=" width:95%; margin-top:30px; margin-left:-4px">
                <thead>
                    <tr>
                        <th style="padding:7px 1px; width:150px">
                            品牌
                        </th>
                        <th  style="padding:7px 1px; width:45px">
                            楼号
                        </th>
                        <th style=" width:60px;padding:7px 1px">
                            宿舍号
                        </th>
                        
                        <th style=" width:60px;padding:7px 1px">
                            剩余桶数
                        </th>
                        <th style=" width:60px;padding:7px 1px">
                            送水桶数
                        </th>
                        <th style=" width:60px;padding:7px 1px">
                           回收桶数
                        </th>
                        <th style=" width:60px;padding:7px 1px">
                           欠桶数
                        </th>
                        <th style=" width:100px;padding:7px 1px">
                            叫水时间
                        </th>
                        
                        <th style="padding:7px 1px">
                            备注
                        </th>
                        <th style="padding:7px 1px; width:100px">
                            状态
                        </th>
                        <th style="padding:7px 1px; width:55px">
                            送水工
                        </th>
                        <th  style='width: 100px;padding:7px 1px'>
                            操作
                        </th>
                    </tr>
                </thead>
                <tbody id="tbodyList">
                </tbody>
            </table>
            <div style="  margin-left:5%">
                <table>
                    <tr>
                       
                        <td style=" width:80%">
                            <div class="fr1">
                                <div class="demo">
                                    <div id="example" class="pagination">
                                    </div>
                                </div>
                            </div>
                        </td>
                        
                         <td style=" width:10%">
                            <div id="record_shu">
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <footer><hr><p>© 2015 <a href="#">shuihang</a></p></footer>
    </div></div>
    <uc1:Alert runat="server" ID="Alert" />
</asp:Content>
